import { ORDER_DETAILS_DATA} from "../actions/actionsTypes"

export default function orderDetailsReducer(state = {}, action) {
	switch (action.type) {
		case ORDER_DETAILS_DATA:
			return Object.assign({}, state, {detailsData: action.data});
		default:
			return state;
	}
}
